﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="status.aspx.cs" Inherits="He.Web.user.status" %>

<%
    He.Model.member Member = new He.Model.member();
    if (Request.IsAuthenticated)
    {
        He.BLL.member mgr = new He.BLL.member();
        string username = User.Identity.Name;
        if (mgr.Exists(username))
        {
            Member = mgr.GetModel(username);
        }
%>
您好
<%=Member.user_name %>,欢迎来到信源通信！｜<a href="/user/center.aspx">我的账户</a>｜<a href="/user/exit.aspx">退出登录</a>
<%
    }
    else
    {
    %>
    您好，欢迎来到演示商城！<a href="/user/login.aspx">[登录]</a> <a href="/user/reg.aspx">[免费注册]</a>
    <%
    }
%>